{
  "properties" : { },
  "id" : "8f8be4d243ca403e95405ba7d4e1165e",
  "script" : null,
  "groupId" : "f233a970a1c5419295b8d980e50d4c51",
  "name" : "修改故障知识库类型",
  "createTime" : 1727070967361,
  "updateTime" : 1724900736193,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "update",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"id\":\"30\",\n    \"sort\":\"5\",\n    \"title\":\"测试呱呱\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================

return db.update("""
    update ndmp_knowledge_type set sort = #{body.sort}, title = #{body.title}
    where id = #{body.id}
""")